/**
 * Copyright(c) 2014 Xunton Solutions
 *
 * History:
 *   15-12-7 上午10:51 Created by dwzhang
 */
package com.jade.modules.message.service;

/**
 * 消息处理相应的配置。
 *
 * @author <a href="mailto:dwzhang@xunton.com">dwzhang</a> 
 * @version 1.0 15-12-7 上午10:51
 */
public class MessageConfig
{
    //队列消息主题
    private String topic;
    //最大重试次数
    private int maxRetryTimes;
    //重试间隔，单位为秒
    private int interval;

    public String getTopic()
    {
        return topic;
    }

    public void setTopic(String topic)
    {
        this.topic = topic;
    }

    public int getMaxRetryTimes()
    {
        return maxRetryTimes;
    }

    public void setMaxRetryTimes(int maxRetryTimes)
    {
        this.maxRetryTimes = maxRetryTimes;
    }

    public int getInterval()
    {
        return interval;
    }

    public void setInterval(int interval)
    {
        this.interval = interval;
    }
}
